package com.zyh.scs.admin.api.vo.open;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author hwh
 * @ClassName: 交易流水查询好店VO$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
public class TransactionFlowVO implements Serializable {


    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 备注
     */
    private String tradeDesc;

    /**
     * 交易信息 时间
     */
    @JsonFormat(pattern = "uuuu-MM-dd'T'HH:mm:ss")
    private LocalDateTime tradeTime;

    /**
     * tradeType
     * 1-收入
     * 2-支出
     */
    private Integer tradeType;
}
